﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mrc.Config
{
    public interface IConfigCenterBuilder
    {
        IServiceCollection Build(IServiceCollection services);

        IConfigCenterBuilder AddService(Action<IServiceCollection> configServiceAction);

        IConfigCenterBuilder AddConfiguration(Action<IConfigurationBuilder> builder);

        IConfigCenterBuilder InitConfiguration();
    }

}
